﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterCar.master" AutoEventWireup="true"
    Async="true" CodeFile="compare-insurance.aspx.cs" Inherits="car_insurance_compare_insurance" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cpHeader" runat="Server">
    <div class="main-bg jungle-big-bg">
        <div class="radius-box-compare">
            <div style="padding: 10px;">
                <asp:Button ID="btnBack" runat="server" CssClass="back-btn" Text="<%$Resources:General,Back %>"
                    ToolTip="<%$Resources:General,Back %>" CausesValidation="False" OnClientClick="history.back();return false;" />
            </div>
            <asp:UpdatePanel ID="uplCarResult" runat="server">
                <ContentTemplate>
                    <asp:HiddenField runat="server" ID="hdnIsPromo" Value="0" />
                    <asp:HiddenField runat="server" ID="hdnPromoCode" Value="0" />
                    <asp:HiddenField runat="server" ID="hdnPromoId" Value="0" />
                    <input type="text" id="hidProvider" runat="server" style="display: none;" />
                    <asp:HiddenField ID="lblInsuranceType" runat="server" />
                    <asp:HiddenField ID="lblCarMakeCode" runat="server" />
                    <asp:HiddenField ID="lblCarMakeName" runat="server" />
                    <asp:HiddenField ID="lblCarModelFamilyName" runat="server" />
                    <table border="0" align="left" cellpadding="6" cellspacing="2">
                        <tr>
                            <asp:Repeater ID="rptCompare" runat="server" OnItemDataBound="rptCompare_ItemDataBound"
                                OnItemCommand="rptCompare_ItemCommand">
                                <HeaderTemplate>
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <td height="280" width="240" valign="top" align="left">
                                        <table width="240" border="0" cellspacing="0" cellpadding="0">
                                            <tr>
                                                <td width="240" height="44" colspan="2">
                                                    <asp:Label ID="lblProviderId" runat="server" Style="display: none" Text='<%# Eval("ProviderCompanyId").ToString() %>'></asp:Label>
                                                    <asp:Label ID="lblTempResultId" runat="server" Style="display: none" Text='<%# Eval("CITempResultId").ToString() %>'></asp:Label>
                                                    <asp:Image ID="imgProvider" runat="server" AlternateText='<%# DataBinder.Eval(Container.DataItem, "PackageName")%>'
                                                        ImageUrl='<%# DataBinder.Eval(Container.DataItem, "CompanyLogoWebUrl")%>' />
                                                    <div class="radius-compare-logo">
                                                        <div runat="server" id="divProvider">
                                                        </div>
                                                    </div>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td height="35" colspan="2">
                                                    <span class="table-text">
                                                        <asp:Label ID="lblPackageName" runat="server" Text='<%# Eval("PackageName").ToString()%>'
                                                            Font-Bold="true"></asp:Label>
                                                        <div id="divSpecialNCB" runat="server" style="display: none; font-size: 11px;">
                                                            <%=GetGlobalResourceObject("CarInsuranceResultPage", "SpecialNCB")%>
                                                        </div>
                                                    </span>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td height="35" colspan="2" bgcolor="#fff" style="text-align: right; padding-right: 5px;">
                                                    <span class="table-heading">
                                                        <asp:Label ID="lblPremium" runat="server" Text='<%# Eval("PromotionPrice")!= null && Convert.ToInt32(Eval("PromotionPrice"))>0?Convert.ToDouble(Eval("PromotionPrice")).ToString("#,000.00"):"-"%>' />
                                                    </span>
                                                    <%--<%= GetGlobalResourceObject("CarInsuranceResultPage", "THBCurrency")%>--%>
                                                    <%= GetGlobalResourceObject("CarInsurance", "Baht")%>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td height="35" colspan="2" bgcolor="#ffe414">
                                                    <span class="table-heading">
                                                        <asp:Label ID="lblOwnDamage" runat="server" Text="<%$Resources:CarInsuranceResultPage,CoverOwnDamage %>" /></span>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td height="35" bgcolor="#f5f5f5" class="table-text">
                                                    <asp:Label ID="lblTitleDeductible" runat="server" Text="<%$Resources:CarInsuranceResultPage,Deductible %>" />:
                                                </td>
                                                <td bgcolor="#f5f5f5" class="table-text" style="text-align: right; padding-right: 5px;
                                                    padding-left: 0px !important;">
                                                    <asp:Label ID="lblDeductible" runat="server" Text='<%# Eval("DEC")!= DBNull.Value?(Convert.ToInt32(Eval("DEC"))>0?Convert.ToInt32(Eval("DEC")).ToString("#,000"):"-"):"-"%>' />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td height="35" bgcolor="#fff" class="table-text">
                                                    <asp:Label ID="lblTitleCoverOwnDamage" runat="server" Text="<%$Resources:CarInsuranceResultPage,CoverOwnDamage %>" />:
                                                </td>
                                                <td bgcolor="#fff" class="table-text" style="text-align: right; padding-right: 5px;
                                                    padding-left: 0px !important;">
                                                    <asp:Label ID="lblCoverOwnDamage" runat="server" Text='<%# Eval("SumInsured")!= DBNull.Value?(Convert.ToInt32(Eval("SumInsured"))>0?Convert.ToInt32(Eval("SumInsured")).ToString("#,000"):"-"):"-"%>' />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td height="35" bgcolor="#f5f5f5" class="table-text">
                                                    <asp:Label ID="lblTitleFire" runat="server" Text="<%$Resources:CarInsuranceResultPage,Fire %>" />:
                                                </td>
                                                <td bgcolor="#f5f5f5" class="table-text" style="text-align: right; padding-right: 5px;
                                                    padding-left: 0px !important;">
                                                    <asp:Label ID="lblFire" runat="server" Text='<%# Eval("Fire")!= DBNull.Value?(Convert.ToInt32(Eval("Fire"))>0?Convert.ToInt32(Eval("Fire")).ToString("#,000"):"-"):"-"%>' />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td height="35" bgcolor="#fff" class="table-text">
                                                    <asp:Label ID="lblTitleTheft" runat="server" Text="<%$Resources:CarInsuranceResultPage,Theft %>" />:
                                                    </span>
                                                </td>
                                                <td bgcolor="#fff" class="table-text" style="text-align: right; padding-right: 5px;
                                                    padding-left: 0px !important;">
                                                    <asp:Label ID="lblTheft" runat="server" Text='<%# Eval("Theft")!= DBNull.Value?(Convert.ToInt32(Eval("Theft"))>0?Convert.ToInt32(Eval("Theft")).ToString("#,000"):"-"):"-"%>' />
                                                </td>
                                            </tr>
                                            <tr runat="server">
                                                <td height="35" bgcolor="#f5f5f5" class="table-text">
                                                    <asp:Label ID="lblFloodCover" runat="server" Text="<%$Resources:CarInsuranceResultPage,FloodCover %>"
                                                        Visible='<%#Eval("IsFloodCover") != DBNull.Value?( Convert.ToInt32(Eval("IsFloodCover")) != 0?true:false):false %>' />
                                                </td>
                                                <td bgcolor="#f5f5f5" class="table-text">
                                                    <asp:Image runat="server" ID="imgFlood" ImageUrl="/images/icon-flood.png" Width="39"
                                                        Height="33" alt="" Visible='<%#Eval("IsFloodCover") != DBNull.Value?( Convert.ToInt32(Eval("IsFloodCover")) != 0?true:false):false %>' />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td height="25">
                                                    &nbsp;
                                                </td>
                                                <td>
                                                    &nbsp;
                                                </td>
                                            </tr>
                                            <tr>
                                                <td height="25" align="center" colspan="2">
                                                    <asp:Button runat="server" ID="btnBuyNowTop" CssClass="buy-now-btn" CausesValidation="false"
                                                        CommandName="buynow" Text="<%$Resources:CarInsuranceResultPage,BuyOnline %>" />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td height="25" colspan="2">
                                                    &nbsp;
                                                </td>
                                            </tr>
                                            <tr>
                                                <td height="35" colspan="2" bgcolor="#ffe414">
                                                    <span class="table-heading">
                                                        <asp:Label ID="lblThirdParty" runat="server" Text="<%$Resources:CarInsuranceResultPage,ThirdPartyLiability %>" />
                                                    </span>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td height="45" bgcolor="#f5f5f5" class="table-text">
                                                    <asp:Label ID="lblTitleTPPD" runat="server" Text="<%$Resources:CarInsuranceResultPage,CoverTPPD %>" />:
                                                    <%--<asp:Label ID="lblTPPD" runat="server" Text='<%# Eval("TPPD")!= DBNull.Value?(Convert.ToInt32(Eval("TPPD"))>0?Convert.ToInt32(Eval("TPPD")).ToString("#,000"):"-"):"-"%>' />--%>
                                                </td>
                                                <td height="45" bgcolor="#f5f5f5" class="table-text" style="text-align: right; padding-right: 5px;
                                                    padding-left: 0px !important;">
                                                    <asp:Label ID="lblTPPD" runat="server" Text='<%# Eval("TPPD")!= DBNull.Value?(Convert.ToInt32(Eval("TPPD"))>0?Convert.ToInt32(Eval("TPPD")).ToString("#,000"):"-"):"-"%>' />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td height="45" bgcolor="#fff" class="table-text">
                                                    <asp:Label ID="lblTitleTPBIA" runat="server" Text="<%$Resources:CarInsuranceResultPage,CoverTPBIA %>" />:
                                                    <%--<asp:Label ID="lblTPBIA" runat="server" Text='<%# Eval("TPBIA")!= DBNull.Value?(Convert.ToInt32(Eval("TPBIA"))>0?Convert.ToInt32(Eval("TPBIA")).ToString("#,000"):"-"):"-"%>' />--%>
                                                </td>
                                                <td height="45" bgcolor="#fff" class="table-text" style="text-align: right; padding-right: 5px;
                                                    padding-left: 0px !important;">
                                                    <asp:Label ID="lblTPBIA" runat="server" Text='<%# Eval("TPBIA")!= DBNull.Value?(Convert.ToInt32(Eval("TPBIA"))>0?Convert.ToInt32(Eval("TPBIA")).ToString("#,000"):"-"):"-"%>' />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td height="45" bgcolor="#f5f5f5" class="table-text">
                                                    <asp:Label ID="lblTitleTPBIP" runat="server" Text="<%$Resources:CarInsuranceResultPage,CoverTPBIP %>" />:
                                                    <%--<asp:Label ID="lblTPBIP" runat="server" Text='<%# Eval("TPBIP")!= DBNull.Value?(Convert.ToInt32(Eval("TPBIP"))>0?Convert.ToInt32(Eval("TPBIP")).ToString("#,000"):"-"):"-"%>' />--%>
                                                </td>
                                                <td height="45" bgcolor="#f5f5f5" class="table-text" style="text-align: right; padding-right: 5px;
                                                    padding-left: 0px !important;">
                                                    <asp:Label ID="lblTPBIP" runat="server" Text='<%# Eval("TPBIP")!= DBNull.Value?(Convert.ToInt32(Eval("TPBIP"))>0?Convert.ToInt32(Eval("TPBIP")).ToString("#,000"):"-"):"-"%>' />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td height="28" colspan="2">
                                                    &nbsp;
                                                </td>
                                            </tr>
                                            <tr>
                                                <td height="35" colspan="2" bgcolor="#ffe414">
                                                    <div>
                                                        <span class="table-heading">
                                                            <asp:Label ID="lblAdditionalCover" runat="server" Text="<%$Resources:CarInsuranceResultPage,AdditionalCovers %>" />
                                                        </span>
                                                    </div>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td height="45" bgcolor="#f5f5f5" class="table-text">
                                                    <asp:Label ID="lblCoverPADriver" runat="server" Text="<%$Resources:CarInsuranceResultPage,CoverPADriver %>" />:
                                                    <%--<asp:Label ID="lblPADriver" runat="server" Text='<%# Eval("PADriver")!= DBNull.Value?(Convert.ToInt32(Eval("PADriver"))>0?Convert.ToInt32(Eval("PADriver")).ToString("#,000"):"-"):"-"%>' />--%>
                                                </td>
                                                <td height="45" bgcolor="#f5f5f5" class="table-text" style="text-align: right; padding-right: 5px;
                                                    padding-left: 0px !important;">
                                                    <asp:Label ID="lblPADriver" runat="server" Text='<%# Eval("PADriver")!= DBNull.Value?(Convert.ToInt32(Eval("PADriver"))>0?Convert.ToInt32(Eval("PADriver")).ToString("#,000"):"-"):"-"%>' />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td height="45" bgcolor="#fff" class="table-text">
                                                    <asp:Label ID="lblCoverMED" runat="server" Text="<%$Resources:CarInsuranceResultPage,CoverMED %>" />:
                                                    <%--<asp:Label ID="lblMED" runat="server" Text='<%# Eval("MedicalExpense")!= DBNull.Value?(Convert.ToInt32(Eval("MedicalExpense"))>0?Convert.ToInt32(Eval("MedicalExpense")).ToString("#,000"):"-"):"-"%>' />--%>
                                                </td>
                                                <td height="45" bgcolor="#fff" class="table-text" style="text-align: right; padding-right: 5px;
                                                    padding-left: 0px !important;">
                                                    <asp:Label ID="lblMED" runat="server" Text='<%# Eval("MedicalExpense")!= DBNull.Value?(Convert.ToInt32(Eval("MedicalExpense"))>0?Convert.ToInt32(Eval("MedicalExpense")).ToString("#,000"):"-"):"-"%>' />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td height="45" bgcolor="#f5f5f5" class="table-text">
                                                    <asp:Label ID="lblCoverBailBond" runat="server" Text="<%$Resources:CarInsuranceResultPage,CoverBailBond %>" />:
                                                    <%--<asp:Label ID="lblBailBond" runat="server" Text='<%# Eval("BailBond")!= DBNull.Value?(Convert.ToInt32(Eval("BailBond"))>0?Convert.ToInt32(Eval("BailBond")).ToString("#,000"):"-"):"-"%>' />--%>
                                                </td>
                                                <td height="45" bgcolor="#f5f5f5" class="table-text" style="text-align: right; padding-right: 5px;
                                                    padding-left: 0px !important;">
                                                    <asp:Label ID="lblBailBond" runat="server" Text='<%# Eval("BailBond")!= DBNull.Value?(Convert.ToInt32(Eval("BailBond"))>0?Convert.ToInt32(Eval("BailBond")).ToString("#,000"):"-"):"-"%>' />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td height="28" colspan="2">
                                                    &nbsp;
                                                </td>
                                            </tr>
                                            <tr>
                                                <td height="25" align="center" colspan="2">
                                                    <asp:Button runat="server" ID="btnCallNowBottom" CssClass="call-back-btn" CausesValidation="false"
                                                        CommandName="callnow" Text="<%$Resources:CarInsuranceResultPage,CallBack %>" />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td height="25" colspan="2">
                                                    &nbsp;
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </ItemTemplate>
                                <FooterTemplate>
                                </FooterTemplate>
                            </asp:Repeater>
                        </tr>
                    </table>
                    <div style="display: none;">
                        <asp:Label ID="lblUserStatus" runat="server"></asp:Label>
                        <asp:Label ID="lblNewEmail" runat="server"></asp:Label>
                        <asp:Label ID="lblNewName" runat="server"></asp:Label>
                        <asp:Label ID="lblNewMobile" runat="server"></asp:Label>
                        <asp:Label ID="lblNewUserId" runat="server" Text="0"></asp:Label>
                        <asp:Button ID="Button1" runat="server" Text="Button" /></div>
                    <cc1:ModalPopupExtender ID="mpeCallPop" runat="server" TargetControlID="Button1"
                        PopupControlID="PanelCallMepop" BehaviorID="behCallMepop" DropShadow="false"
                        BackgroundCssClass="simplemodal-overlay" CancelControlID="btnCancel">
                    </cc1:ModalPopupExtender>
                    <asp:Panel ID="PanelCallMepop" runat="server" Style="display: none;">
                        <!-- modal content -->
                        <div id="simplemodal-container-callme">
                            <div class="pop-col">
                                <div class=" text-heading-black">
                                    <div>
                                        <%=GetGlobalResourceObject("CarInsurance", "CallYouBack")%></div>
                                </div>
                                <div>
                                    <%=GetGlobalResourceObject("CarInsurance", "YourCarModel")%>:
                                    <div id="divMakeModelNamePopup" runat="server">
                                    </div>
                                </div>
                                <div style="width: 440px;">
                                    <asp:ValidationSummary ID="vsCallme" runat="server" ValidationGroup="callme" ShowSummary="True"
                                        HeaderText="<%$ Resources:General,RequiredValidation%>" CssClass="error-msg" />
                                </div>
                                <div class="cb-box">
                                    <div class="cb-row-1">
                                        <%=GetGlobalResourceObject ("CarInsurance","CallMeAt") %>:</div>
                                    <div class="cb-col-1">
                                        <asp:DropDownList CssClass="cb-fields-dropdown" runat="server" ID="ddlCallMeTime">
                                            <asp:ListItem Value="-1" Text="<%$Resources:CarInsurance,Select %>" />
                                            <asp:ListItem Value="1" Text="<%$Resources:CarInsurance,CallMeMorning %>" />
                                            <asp:ListItem Value="2" Text="<%$Resources:CarInsurance,CallMeAfternoon %>" />
                                            <asp:ListItem Value="3" Text="<%$Resources:CarInsurance,CallMeEvening %>" />
                                            <asp:ListItem Value="4" Text="<%$Resources:CarInsurance,CallMeAnytime %>" />
                                        </asp:DropDownList>
                                        <asp:RequiredFieldValidator ID="rfvCallMeTime" runat="server" CssClass="validationError"
                                            ValidationGroup="callme" ErrorMessage="" Text="" InitialValue="-1" ControlToValidate="ddlCallMeTime"></asp:RequiredFieldValidator>
                                    </div>
                                    <div class="cb-row-1">
                                    </div>
                                    <div class="cb-col-1">
                                        <div style="float: right; padding-right: 10px;">
                                            <asp:Button ID="btnSubmit" ValidationGroup="callme" Text="<%$Resources:General,Submit%>"
                                                Width="150" runat="server" CssClass="action-button" OnClick="btnSubmit_Click"
                                                ToolTip="<%$Resources:General,Submit%>" OnClientClick="LoadValidationErrorCss();if (Page_ClientValidate('callme')){this.removeAttribute('onmouseout');this.removeAttribute('onmouseup');this.className = 'action-button-processing';}" />
                                        </div>
                                    </div>
                                    <div class="cb-row-full">
                                        <div class="heading-sub-title" style="width: 300px; float: left;">
                                            <%=GetGlobalResourceObject("General", "YourDetails")%></div>
                                        <div style="float: right; width: 140px; text-align: right; padding-top: 20px;">
                                            <a href="" class="general-links" style="text-align: right;" onclick="EnableEditDetails();return false;">
                                                <img src="/images/edit.png" width="16" height="16" alt="" /><%=GetGlobalResourceObject("General", "Edit")%></a></div>
                                    </div>
                                    <div class="cb-row-1">
                                        <asp:Label ID="Label17" runat="server" Text="<%$ Resources:CarInsurance,Name%>" />:</div>
                                    <div class="cb-col-1">
                                        <asp:TextBox ID="txtNamePop" CssClass="cb-fields-disable" runat="server" MaxLength="50"
                                            Enabled="false"></asp:TextBox>
                                        <cc1:TextBoxWatermarkExtender ID="tbwNamePop" runat="server" TargetControlID="txtNamePop"
                                            WatermarkCssClass="cb-fields" WatermarkText="<%$Resources:General,EnterName%>">
                                        </cc1:TextBoxWatermarkExtender>
                                        <asp:RequiredFieldValidator ID="rfvNamePop" runat="server" Text="" CssClass="validationError"
                                            ValidationGroup="callme" ErrorMessage="" ControlToValidate="txtNamePop" Display="Dynamic"></asp:RequiredFieldValidator>
                                        <asp:RegularExpressionValidator ID="revNamePop" Text="" CssClass="validationError"
                                            runat="server" ValidationGroup="callme" ErrorMessage="" ControlToValidate="txtNamePop"
                                            ValidationExpression="^[\p{L}\d]*[^#$%^&*():/\.'^<>]*$" Display="Dynamic"></asp:RegularExpressionValidator>
                                    </div>
                                    <div class="cb-row-1">
                                        <asp:Label ID="lblEmailPop" runat="server" Text="<%$ Resources:CarInsurance,EmailAddress%>" />:</div>
                                    <div class="cb-col-1">
                                        <asp:TextBox ID="txtEmailPop" CssClass="cb-fields-disable" runat="server" MaxLength="100"
                                            Enabled="false"></asp:TextBox>
                                        <div style="float: right; margin-top: 7px;">
                                            <a id="A1" runat="server" class="tooltips2">
                                                <img src="/images/lock.png" alt="ssl" width="25" height="25" /></a>
                                        </div>
                                        <cc1:TextBoxWatermarkExtender ID="tbwEmailPop" runat="server" TargetControlID="txtEmailPop"
                                            WatermarkCssClass="cb-fields" WatermarkText="<%$Resources:General,EnterEmail%>">
                                        </cc1:TextBoxWatermarkExtender>
                                        <asp:RequiredFieldValidator ID="rfvEmailPop" runat="server" Text="" CssClass="validationError"
                                            ValidationGroup="callme" ErrorMessage="" ControlToValidate="txtEmailPop" Display="Dynamic"></asp:RequiredFieldValidator><asp:RegularExpressionValidator
                                                ID="revEmailPop" Text="" CssClass="validationError" runat="server" ValidationGroup="callme"
                                                ErrorMessage="" ControlToValidate="txtEmailPop" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                                                Display="Dynamic"></asp:RegularExpressionValidator></div>
                                    <div class="cb-row-1">
                                        <asp:Label ID="lblMobileNoPop" runat="server" Text="<%$ Resources:CarInsurance,MobileNo%>" />:</div>
                                    <div class="cb-col-1">
                                        <asp:TextBox runat="server" ID="txtMobilePop" CssClass="cb-fields-disable" MaxLength="10"
                                            Enabled="false"></asp:TextBox>
                                        <div style="float: right; margin-top: 7px;">
                                            <a id="A2" runat="server" class="tooltips2">
                                                <img src="/images/lock.png" alt="ssl" width="25" height="25" />
                                            </a>
                                        </div>
                                        <cc1:TextBoxWatermarkExtender ID="tbwMobilePop" runat="server" TargetControlID="txtMobilePop"
                                            WatermarkCssClass="cb-fields" WatermarkText="<%$Resources:General,EnterMobile%>">
                                        </cc1:TextBoxWatermarkExtender>
                                        <asp:RequiredFieldValidator ID="rfvMobilePop" runat="server" ControlToValidate="txtMobilePop"
                                            CssClass="validationError" Display="Dynamic" ErrorMessage="" ValidationGroup="callme"></asp:RequiredFieldValidator>
                                        <asp:RegularExpressionValidator ID="revMobilePop" runat="server" ControlToValidate="txtMobilePop"
                                            CssClass="validationError" ErrorMessage="" ValidationExpression="0[5-9]\d{8}"
                                            ValidationGroup="callme"></asp:RegularExpressionValidator></div>
                                    <div style="width: 450px; display: none;">
                                        <asp:CheckBox ID="checkIsAgreement" runat="server" Checked="true" />
                                        <asp:Label ID="lblAgreement" runat="server" Text="<%$ Resources:General,Agreement%>"
                                            CssClass="check-agree-text"></asp:Label></div>
                                    <div class="cb-row-1">
                                        <div id="divCallMe" runat="server" visible="false">
                                            <asp:Label ID="lblCallMeMessage" runat="server" Font-Size="12px" ForeColor="Green"
                                                Font-Bold="true" Font-Names="Arial" Text="" />
                                            <asp:HiddenField ID="hdnUserId" runat="server" Value="0" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="pop-col-right">
                                <div class="bubble-heading">
                                </div>
                                <div class="bubble-col-left" style="display: none;">
                                    <div class="" id="divBrandPopup" runat="server">
                                    </div>
                                </div>
                                <div class="bubble-col-right">
                                    <div class="" id="divInsurerPopup" runat="server">
                                    </div>
                                </div>
                                <div class="bubble-heading">
                                    <%=GetGlobalResourceObject("General", "PremiumAmount")%></div>
                                <div class="bubble-price-tag">
                                    <div id="divPremiumPopup" runat="server">
                                    </div>
                                </div>
                            </div>
                            <div style="float: right;">
                                <asp:ImageButton ID="btnCancel" runat="server" CssClass="modalCloseImg" ImageUrl="/images/close.png"
                                    AlternateText="X" OnClick="btnCancel_Click" /></div>
                        </div>
                    </asp:Panel>
                </ContentTemplate>
            </asp:UpdatePanel>
        </div>
    </div>

    <script type="text/javascript">
        function EnableEditDetails() {
            document.getElementById("<%=txtNamePop.ClientID%>").disabled = false;
            document.getElementById("<%=txtMobilePop.ClientID%>").disabled = false;
            document.getElementById("<%=txtEmailPop.ClientID%>").disabled = false;

            document.getElementById("<%=txtNamePop.ClientID%>").className = "cb-fields";
            document.getElementById("<%=txtMobilePop.ClientID%>").className = "cb-fields";
            document.getElementById("<%=txtEmailPop.ClientID%>").className = "cb-fields";
        }
    </script>

</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cpBody" runat="Server">
</asp:Content>
